package com.example.yibu.controller;

import com.example.yibu.yibService.AspectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/test")
public class AspectController {
    @Autowired
    private AspectService aspectService;
    //测试自定义注解
    @GetMapping("testRun")
    public void test() {
        aspectService.testAspectDate();
    }


}
